package com.gitee.kamismile.stone.rpc.api.invocation.support;

import com.gitee.kamismile.stone.rpc.common.invocation.StoneInvocationContext;

import java.util.concurrent.CompletableFuture;

public class StoneInvocationContextCompletableFuture<T> extends CompletableFuture<T> {
    private StoneInvocationContext context;

    public StoneInvocationContextCompletableFuture(StoneInvocationContext context) {
        this.context = context;
    }

    public StoneInvocationContext getContext() {
        return context;
    }
}
